def calculate_scores(scores):
    max_score = max(scores)
    min_score = min(scores)
    avg_score = sum(scores) / len(scores)
    return max_score, min_score, avg_score

n = int(input("请输入分数的个数："))
scores = []
for i in range(n):
    score = float(input("请输入第{}个分数：".format(i+1)))
    scores.append(score)

max_score, min_score, avg_score = calculate_scores(scores)

print("最高分：", max_score)
print("最低分：", min_score)
print("平均分：", avg_score)